package indzcraft.loader;
import java.util.HashMap;



public class SocketBonusDB {
	
	HashMap<Integer,SocketBonus> socketbonusDB = new HashMap<Integer,SocketBonus>();
	
	public SocketBonusDB(){
		populateEnchantDB();
	}
	
	private void populateEnchantDB() {
		socketbonusDB.put(4128, new SocketBonus(0, 0, 0, 0, 30, 0, 0));	// 30 haste
		socketbonusDB.put(4133, new SocketBonus(20, 0, 0, 0, 0, 0, 0));	// 20 agi
		socketbonusDB.put(2782, new SocketBonus(10, 0, 0, 0, 0, 0, 0));	// 10 agi
		socketbonusDB.put(4146, new SocketBonus(0, 0, 0, 0, 10, 0, 0));	// 10 haste
		socketbonusDB.put(2782, new SocketBonus(10, 0, 0, 0, 0, 0, 0));	// 10 agi
		socketbonusDB.put(4145, new SocketBonus(30, 0, 0, 0, 0, 0, 0));	// 30 agi
		socketbonusDB.put(4153, new SocketBonus(0, 0, 30, 0, 0, 0, 0));	// 30 cri
		
		// PvP
		socketbonusDB.put(4184, new SocketBonus(30, 0, 0, 0, 0, 0, 0)); // 10 resi
		socketbonusDB.put(4186, new SocketBonus(30, 0, 0, 0, 0, 0, 0)); // 30 resi
	}
	
	public SocketBonus getSocketBonus(int id){
		if(socketbonusDB.containsKey(id)){
			return socketbonusDB.get(id);
		}
		System.out.println("unknown socketbonusid:"+  id);
		return null;
	}
}

